<?php 
include_once(''.P.'/public/header.html');
?>


<style>
.indexicons{padding:10px 5px;margin:20px;width:120px;text-align:center;border:0px #cccccc solid;border-radius:10px;float:left;color:white;background:#66CCFF;position:relative;cursor:pointer}
.indexicons span{position:absolute;right:5px;top:5px;background-color:red;color:white;display:inline-block;padding:2px 5px;border-radius:5px}
.indexicons span:empty{display:none}
</style>
<script>
function initbody(){
	js.ajax({
		url:'?m='+MODE+'&a=total',
		success:function(da){
			var i,val;
			for(i in da){
				val = da[i];
				$('#stotel_'+i+'').html(val);
			}
		},
		dataType:'json'
	});	
}

</script>
</head>

<body>

<?php 
include_once(''.P.'/public/top.html');
?>

<div align="center">

<div style="width:<?=$maxwidth?>;margin:20px 0px" align="left">
	
	<div class="mainbody">
	
		<div style="padding:0px 10px">
			
			
			<div class="blank20"></div>
			<div style="padding:20px;font-size:20px" align="center">欢迎使用，<?=TITLE?></div>
			<div style="padding:10px;color:gray" align="center">自己私有化部署的文件管理系统，支持文档在线编辑等功能。</div>
			
			<table width="100%">
		<tr valign="top"><td width="50%" align="center">
		
		<div style="margin:20px;padding:5px;max-width:300px" align="left">
			<div style="line-height:40px;font-size:18px">帮助相关</div>
			<div style="line-height:40px;border-top:1px #eeeeee solid"><img src="images/jian2.gif" align="absmiddle"> <a href="<?=URLY?>" target="_blank">打开帮助</a></div>
			<div style="line-height:40px;border-top:1px #eeeeee solid"><img src="images/jian2.gif" align="absmiddle"> <a href="<?=URLY?>view_xinhu.html" target="_blank">免费开源办公OA系统</a></div>
			<div style="line-height:40px;border-top:1px #eeeeee solid"><img src="images/jian2.gif" align="absmiddle"> <a href="<?=URLY?>view_rockdocs.html" target="_blank">信呼文件管理系统</a></div>
		</div>
		</td><td>

		<div style="margin:20px;padding:5px;">
			
			<div class="indexicons" style="background:#0099CC" onclick="js.location('?m=index')">
				<div style="font-size:40px;"><i class="icon-home"></i></div>
				<div>首页</div>
				
			</div>
			
			<div class="indexicons" style="background:<?=$col?>" onclick="js.location('?m=users')">
				<div style="font-size:40px;"><i class="icon-user"></i></div>
				<div>用户数(<font id="stotel_users"></font>)</div>
				
			</div>
			
			<div class="indexicons" onclick="js.location('?m=system&a=loginjl')">
				<div style="font-size:40px;"><i class="icon-comment-alt"></i></div>
				<div>登录记录</div>
				<span id="stotel_loginjl"></span>
			</div>
		
			<div class="indexicons" style="background:#FF9999" onclick="js.location('?m=system&a=log')">
				<div style="font-size:40px;"><i class="icon-tag"></i></div>
				<div>今日日志</div>
				<span id="stotel_log"></span>
			</div>
			
			
		</div>
		</td>
		</tr>
		</table>
		
			
			
			
			
		</div>
		
		
		
	</div>
</div>



<?php 
include_once(''.P.'/public/footer.html');
?>
</div>

</body>
</html>